package com.mbyte.easy.security.service.impl;

import com.mbyte.easy.security.entity.SysUserRoles;
import com.mbyte.easy.security.mapper.SysUserRolesMapper;
import com.mbyte.easy.security.service.ISysUserRolesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysUserRolesServiceImpl implements ISysUserRolesService {
    @Autowired
    private SysUserRolesMapper sysUserRolesMapper;
    public SysUserRoles selectByUserId(Long sysUserId){
        return sysUserRolesMapper.selectInfoByUserId(sysUserId);
    }
}
